package com.sxit.tdf.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sxit.tdf.server.entity.FileStorage;
import com.sxit.tdf.server.entity.bo.SimpleStoreBo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Mapper 接口
 *
 * @author 橙子高
 * @since 2022-03-06
 */
public interface FileStorageMapper extends BaseMapper<FileStorage> {

  List<SimpleStoreBo> getStorageList();

  boolean canDeleteStore(Integer id);

  List<FileStorage> getStorageListByIds(@Param("ids") List<Integer> integers);
}
